<?php foreach($readnews as $read) :?>
<div class="section-title"> <img src="<?=base_url()?>assets/images/news.png" class="news-icon"/> <b><?=$read['post_title']?></b> </div>
<div class="section-content"> 
	<div class="inner-section">
		<img src="<?=base_url()?>assets/uploads/thumb.php?src=artikel/<?=$read['picture']?>&x=690&y=250" class="thumb-detail"/> 
		<div class="news-log">
			<div class="share">
				<div class="addthis_toolbox addthis_default_style">
					<a href="https://twitter.com/share" class="twitter-share-button">Tweet</a>	
					<div class="fb-like" data-send="false" data-layout="button_count" data-width="450" style="margin-left:-30px;" data-show-faces="false" data-font="tahoma"></div>
					<div class="g-plus" data-action="share" data-annotation="bubble" style="margin-right:-20px;"></div>
				</div>
			</div>
			<p class="news-read-subtitle">
				<img src="<?=base_url()?>assets/images/date.png"> <?=dateformat('date', $read['datecreate'])?> | 
				<img src="<?=base_url()?>assets/images/time.png"> <?=dateformat('time', $read['datecreate'])?> | 
				<img src="<?=base_url()?>assets/images/user.png"> <?=ucfirst($read['username'])?> | 
				<img src="<?=base_url()?>assets/images/zoom.png"> <?=$views?>
			</p>
		</div>
		<div class="news-read-content">
			<?=$read['post_content']?>
		</div>
		<br />
		<center>
		<!-- Begin: http://adsensecamp.com/ -->
		<script src="http://adsensecamp.com/show/?id=Y9aCRDu4Mkk%3D&cid=iJQqL8nxrEY%3D&chan=ncwihBJEBhQ%3D&type=13&title=3D81EE&text=000000&background=FFFFFF&border=000000&url=2BA94F" type="text/javascript">
		</script>
		<!-- End: http://adsensecamp.com/ -->
		</center>
		<div class="spacer"></div>

	</div>
</div>
<?php endforeach ?>
<div class="spacer"></div>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="730" height="94" id="banner-service.swf" align="middle">
	<param name="allowScriptAccess" value="sameDomain">
	<param name="movie" value="banner-service.swf">
	<param name="quality" value="high">
	<param name="bgcolor" value="#ffffff">
	<embed src="<?=base_url()?>assets/images/banner-read.swf" quality="high" bgcolor="#ffffff" width="735" height="94" name="banner-service.swf" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>

<div class="spacer"></div>

<div class="section-title"> <img src="<?=base_url()?>assets/images/news.png" class="news-icon"/> <b>Related Post</b> </div>
<div class="section-content"> 
	<div class="inner-section">
		<ul class="related-post"> 
			<?php foreach ($random as $rand) : ?>
			<li><a href="<?=base_url()?>read/<?=$rand['stateid']?>/<?=$rand['permalink']?>"><img src="<?=base_url()?>assets/uploads/thumb.php?src=artikel/<?=$rand['picture']?>&x=125&y=125" /></a></li> 
			<?php endforeach ?>
		</ul>
	</div>
</div>
<div class="spacer"></div>

<div class="section-content"> 
	<div class="inner-section">
		<div class="spacer"></div>
		<div class="fb-comments" data-href="<?=current_url()?>" data-num-posts="5" data-width="700"></div>
	</div>
</div>